package com.yida.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import com.yida.common.security.annotation.EnableRyFeignClients;

/**
 * 认证授权中心
 * 
 * @author yida
 */
@EnableRyFeignClients
//@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class },scanBasePackages = "com.yida.system.api")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class YiDaAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(YiDaAuthApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  认证授权中心启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                  " _____   _   _   _____   _____   _____   _____   _____  \r\n"
        		+ "/  ___/ | | | | /  ___| /  ___| | ____| /  ___/ /  ___/ \r\n"
        		+ "| |___  | | | | | |     | |     | |__   | |___  | |___  \r\n"
        		+ "\\___  \\ | | | | | |     | |     |  __|  \\___  \\ \\___  \\ \r\n"
        		+ " ___| | | |_| | | |___  | |___  | |___   ___| |  ___| | \r\n"
        		+ "/_____/ \\_____/ \\_____| \\_____| |_____| /_____/ /_____/ "
        		+"                                                            ");
    }
}
